package user;

import book.BookList;
import operation.IOPer;

public abstract class User {
    protected String name;

    protected IOPer[] ioPer;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();


    public void ToDo(int a, BookList bookList) {
        ioPer[a].work(bookList);
    }
}
